package com.ybwh.springboot3;

import com.ybwh.openapi3.EnumFiledOpenApi3Config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;


@Slf4j
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
@Import(EnumFiledOpenApi3Config.class)
public class OpenApi3App {

    public static void main(String[] args) {
        System.setProperty("log4j2.is.webapp", "false");
        SpringApplication.run(OpenApi3App.class, args);


        log.info("---------------------OpenApi3App start success --------------------");

    }
}
